<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>智慧城市可视化管理</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

    <style>

        body, html {
            background: rgba(197, 99, 99, 0);
            position: absolute;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            position: fixed;
        }
    </style>

</head>
<body>
    <!-- <video id="webRTC_video" autoplay></video> -->
    <script src="md5.js"></script>
    <script src="loginClass.js"></script>
    <script src="HCWebRTCPlayer.js"></script>
    <script src="hcplayer_KM.js"></script>
    
    

	
    <script>
    
        document.addEventListener("DOMContentLoaded", documentIsLoaded);
        var loginClass = null;
        var player = null;
        remote_ip = "127.0.0.1";
        remote_port = "8091";
        renderWidth = 1920;
        renderHeight = 1080;


        function documentIsLoaded()
        {
            loginClass = new LoginClass();
            player = new HCPlayer();
            player.setLoginClass(loginClass);
            player.init({ip:remote_ip,port:remote_port,width:renderWidth,height:renderHeight,supportRtc:true});
        }

        window.addEventListener('beforeunload', function (e) {
                        e.preventDefault();
                        e.returnValue = '';
                });

    </script>
    

</body>
</html>
